Hi @abdullah.farooq This is a bit confusing.
From engineering:
“This is unfortunately a bit of a confusing aspect with permissions. The internal values for roles and what is returned by the API does not match up nicely with the names in the UI. This is due to the two types of permissions, basic & advanced, using similar role values to support transitioning from one to the other.
These docs explain the mapping and may be what the user is looking for: https://support.pagerduty.com/docs/advanced-permissions#roles-in-the-rest-api-and-saml”
Specifically, the user
role you see in the API returns is equivalent to the Manager
base role in the UI.
HTH
–mandi